package com.py.api;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@FeignClient(value = "py-od-purchase")
public interface PyPurchaseApi {

    @RequestMapping("/selectByCode")
    public Map<String,Object> selectByCode(@RequestParam("phCode") String phCode);

}
